﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Pixysoft.Weblications.Sango.Constant
{
    class BattleActionTypecodeCollection
    {
        // 技能实施
        public const int SKILL_ATTACK = 1;
        // 技能回收
        public const int SKILL_RELEASE = 2;
        // 技能重复实施
        public const int SKILL_REPEAT = 3;
        // 被动技能实施
        public const int SKILL_PASSIVE_ATTACK = 4;
        // 普通攻击
        public const int NORMAL_ATTACK = 5;
        // 法术攻击
        public const int MAGIC_ATTACK = 6;

        internal static string getComment(long typecode)
        {
            switch (typecode)
            {
                case SKILL_ATTACK:
                    return "技能实施";
                case SKILL_RELEASE:
                    return "技能回收";
                case SKILL_REPEAT:
                    return "技能重复实施";
                case SKILL_PASSIVE_ATTACK:
                    return "被动技能实施";
                case NORMAL_ATTACK:
                    return "普通攻击";
                case MAGIC_ATTACK:
                    return "法术攻击";
                default:
                    return "无";
            }
        }

    }
}
